#ifndef MENU_H_
#define MENU_H_
#include "TextureManager.h"
#include "Vector2D.h"
#include "MenuElementList.h"

class Menu
{
	protected:
	TextureManager * textureManager;
	MenuElementList * menuElements;
	Vector2D position;
	
	bool isVisible;
	int index;
	public:
	Menu(MenuElementList * menuElements, Vector2D position, int index);
	~Menu();
	
	int Click(Vector2D mousePosition);
	bool HandleUserInput(unsigned char key, int modifier, bool isDepressed);
	void Hide();
	void Show();
	void Draw();
	int GetIndex();
};
#endif /*MENU_H_*/
